<link rel="stylesheet" type="text/css" href="/static/admin/css/main.css">
<style>
    .laytp-container #table-card{padding: 0!important;}
    #mainnav{padding-bottom: 0!important;}
    .page-title .page-title-con{background-color: #192a5e!important;color: #FFFFFF}
    .page-title #titss{font-size: 20px!important;}
    .opTable-open-td .layui-table-cell{height: auto!important;overflow:visible;text-overflow:inherit;white-space:normal;line-height: 24px!important;}
    #mainnav div{font-size: 14px!important;}
</style>
<div class="layui-card" id="mainnav">
    <div key="gai">工程概况</div>
    <div key="qing">工程量清单</div>
    <div key="basal">基底清单</div>
    <div key="mark">基准费用</div>
    <div key="analy">含量指标分析表</div>
    <div key="gongji">工料机汇总</div>
    <div key="week_lease">模板支撑</div>
    <div key="week_stuff">周转材</div>
    <div key="jian">间接费清单</div>
    <div key="zaofen">单方造价分析表</div>
    <div key="huizi">资金成本表</div>
    <div key="huishu">总价汇总表</div>
    <div key="huizao">单方造价表</div>
    <div key="AAAAAAA">清单导出</div>
    <div style="clear: both"></div>
</div>
<script type="text/javascript">
    var param_enginid = getQueryVariable('enginid');
    var param_pagekey = getQueryVariable('pagekey') || '';
    var param_titss = decodeURI(getQueryVariable('titss')) || '';
    $("#titss").html(param_titss);

    $("#mainnav div").each(function () {
        if( $(this).attr('key') == param_pagekey ){
            $(this).addClass('active')
        }
    })

    $("#mainnav div").click(function () {
        var key = $(this).attr('key');
        if(key == 'AAAAAAA'){
            facade.error('开发中...');return false;
        }
        top.parent.layer.closeAll();
        openPageMain('/page/main_engin/'+key+'.php?close=1&enginid='+param_enginid+'&titss='+encodeURI(param_titss)+'&pagekey='+key);
    });
</script>